home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / wildcat / wchslinm.zip / QBEW.ZIP / QBEWCONV.DOC next >
Text File  |  1992-01-17  |  4KB  |  101 lines

  1. QBEWCONV --  A  'Lean and Mean' utility to convert Qmodem's QMODEM.BEW to
  2. a 'list' file usable by HSLINK and other external batch protocols
  3. for batch uploading.
  4.  
  5. (c) 1992  Karl Schneider
  6.           8505 Woodwick Ct.
  7.           Tampa, FL 33615
  8.           813-884-9661  voice days & evenings
  9.  
  10. My BBS, The AGORA can be accessed at the above number ONLY from
  11. MIDNIGHT until 0700 EASTERN TIME.  14.4 HST Modem, Wildcat 3.01P.
  12. ---------------------------------------------------------------------------
  13. I've been working with Randy Lynch to simplify the batch upload pro-
  14. cedure for EXTERNAL batch protocols (primarily HSLINK) in Qmodem.
  15.  
  16. Qmodem has a nice BEW (Batch Entry Window) editor for entering filenames
  17. for upload, but it is designed for Qmodem's INTERNAL ZMODEM and YMODEM-G
  18. batch protocols. The QMODEM.BEW list it creates (using ALT-6 and SAVED
  19. with F10) is NOT directly readable as a @filelist file by HSLINK
  20. (or other external procotol drivers).
  21.  
  22. This very fast little utility will convert QMODEM.BEW to any filename
  23. you wish which can be read by HSLINK, DSZ and many other protocols.
  24.  
  25. I have worked out a procedure which works well and is very flexible..
  26. It uses TWO different batch files...one, SH.BAT is called by Qmodem after
  27. using the normal PageUp for uploads, and SHB.BAT which is called by a
  28. Macro defined in Qmodem.  I use F10 for the macro which matches the F10
  29. keystroke used for Batch uploads from the BEW using Qmodem INTERNAL
  30. batch protocols.  Define the macro with ALT-J in Qmodem and have it
  31. say this:
  32.  
  33. @shellx c:\qmodem\shb.bat
  34.  
  35. Replace the path with the path to SHB.BAT in YOUR system and/or the
  36. batch file name you wish to use.
  37.  
  38. Don't forget to create the batch file!  here's what mine for HSLINK
  39. looks like:
  40.  
  41. REM This is SHB.BAT
  42. @echo off
  43. REM BATCH UPLOAD HS/LINK WITH QMODEM 4.x or 5.0
  44. del list
  45. qbewconv list
  46. if errorlevel 1 goto no_files
  47. HSLINK -Ud:\arc -P1 -E%3 -O @list
  48. if errorlevel 1 pause
  49. goto end
  50. :no_files
  51. cls
  52. echo NO FILES IN UPLOAD BATCH LIST!  USE ALT-6 & F10 TO CREATE!
  53. pause
  54. :end
  55. ---------------------------------------------------------------------------
  56. Make any changes necessary; you can call the 'list' file anything you
  57. like.  Note the name in line 7 must match that in the argument to
  58. QBEWCONV in line 5.  Also change the -U parameter to tell HSLINK where
  59. you want DOWNloads to go, and don't forget to put the correct COM port
  60. number after -P.  This batch file, as I mentioned, is called by
  61. pressing F10 (you can of course configure any other macro key you prefer)
  62. and if QBEWCONV finds that no LIST file has been created (meaning
  63. QMODEM.BEW either does not exist or contains NO filenames), it exits
  64. with ERRORLEVEL 1, allowing you to bypass the upload (which would fail
  65. anyway).
  66.  
  67. QBEWCONV will quickly convert your QMODEM.BEW file to one usable by
  68. HSLINK and the batch upload will go normally.  The LIST file is de-
  69. leted in the batch file before QBEWCONV runs, and if QMODEM.BEW is
  70. missing or empty, LIST will not be re-written.
  71.  
  72. If you wish to just upload (or up/down bidirectional) just ONE file,
  73. you can use the normal PageUP key, select the protocol, and enter
  74. the filepath/name into the Upload Allocation Window that Qmodem pops
  75. up.  Note, however, it is PERFECTLY ACCEPTABLE to use the BEW and
  76. Macro method for single file uploads as well as Batch uploads!  If
  77. you want to stay strictly with this method, you don't even NEED the
  78. SH.BAT file!   Anyway, here's what mine looks like:
  79.  
  80. REM This is SH.BAT
  81. @echo off
  82. REM UPLOAD HS/LINK WITH QMODEM 4.x or 5.0
  83. HSLINK -Ud:\arc -P1 -E%3 -O %4
  84. if errorlevel 1 pause
  85. -------------------------------------------------------------------------
  86. In this case, you enter just ONE filepath/name into the Upload Allo-
  87. cation window from Qmodem, and the %4 is sent to HSLINK.  Again, here
  88. set the -U path as required if you plan on any BIdirectional transfers.
  89.  
  90. QBEWCONV will work with the DSZ external protocol, and others
  91. which support the '@filelist' feature.  The procedure is the same;
  92. refer to the Documentation files for other protocols for information.
  93. Any feedback or bug report concerning QBEWCONV will be appreciated!
  94.  
  95. If you use QBEWCONV, please register it with a small ($5 suggested)
  96. registration to the above address.  If you do this, I'll be happy to
  97. make any reasonable modifications or changes you may want.  Thanks!
  98. -eof-
  99.  
  100.  
  101.